<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>应许之地——萝卜丝之家</title>
<link rel="stylesheet" type="text/css" href="css/general.css">
<link rel="stylesheet" type="text/css" href="css/detail.css">
<link rel="stylesheet" type="text/css" href="css/weibo_base.css">
<link rel="stylesheet" type="text/css" href="css/public.css">
</head>

<body class="user">
<%@include file = "../include/top.jsp"%>
<%@include file = "../include/menu_bar.jsp"%>
<div class="main help_index">
    <div class="content">
        <div class="art">
            <div class="notice_det">
            	<div class="hd">
                	<h2>${helpInformation.title}</h2>
                    <p>发布人：${helpInformation.userName}  发布时间：${helpInformation.modifyTime} 联系方式: <s:if test="%{null != #session.LOGINUSER}"><span>${helpInformation.contact}</span></s:if> <s:else>（<a style="color:#278dd4;" href="login.jsp">登录</a>后可见）</s:else></p>
                </div>
                <div class="bd">
                	<div class="tx">
                    	${helpInformation.content}
                    </div>
					<form action="saveHelpMessage.action" method="post">
					<input type = "hidden" name = "topicId" value="${helpInformation.id}"/>
					<input type = "hidden" name = "userId" value="${helpInformation.userId}"/>
                    <div class="leave_word">
                    	<h2>留言板</h2>
						<s:iterator value="helpInformationMessageList" id="entity">
							 <s:if test="%{pid == -1}">
                        <p><s:if test="%{null != #session.LOGINUSER}"><a class="reply"  onclick="openDiv('id${id}')" style="cursor:pointer;" >回复</a></s:if><span class="smo">${replierName}：</span>${title}<span class="time">[${createTime}]</span></p>
						<div id="id${id}" style="display:none">
						<p>
						<textarea rows="4" cols="50" id="title${id}"></textarea>
						<div onclick="subMessage('${id}')"><button type="button">回复</button></div>
						</p>
						</div>
						</s:if>
						<s:if test="%{pid != -1}">
						<div class="rep_box">
                        	<span class="smo">${replierName}：</span>${title}[${createTime}]
                        	<span class="arrow"></span>
                        </div>
						</s:if>
							</s:iterator>
						<s:if test="%{null != #session.LOGINUSER}">
                         <textarea name="title"></textarea><br>
                        <button type="submit">提交</button>
                        </s:if>
                    </div>
                    </form>
                </div>
            </div>
        </div>
        <div class="help_rside">
        	
            <a class="self_notice" href="publish.action"></a>
            
        	<div class="panel right" id="post">
				<div class="panel_title">
                    <span>公告</span>
                    <a href="/listLopNews.action">更多</a>
            	</div>
				<div class="panel_content" id="post_news">
                	<ul>
						<li class="sub_panel_list_item">
							<a href="/showLopNews.action?id=77"> 
							历年圣诞晚会视频下载 -- 2011-11-05</a>		
						</li>
						
						<li class="sub_panel_list_item">
							<a href="/showLopNews.action?id=74"> 
							招聘信息来啦 -- 2011-09-07</a>		
						</li>
						
						<li class="sub_panel_list_item">
							<a href="/showLopNews.action?id=73"> 
							兼职会计招聘信息喽 -- 2011-09-07</a>		
						</li>
						
						<li class="sub_panel_list_item">
							<a href="/showLopNews.action?id=69"> 
							这个中秋一起晒月亮！ -- 2011-08-30</a>		
						</li>
						
						<li class="sub_panel_list_item">
							<a href="/showLopNews.action?id=70"> 
							招聘！找工作的看过来! -- 2011-08-30</a>		
						</li>
						
						<li class="sub_panel_list_item">
							<a href="/showLopNews.action?id=68"> 
							D4:13280 5654 410 454  -- 2011-08-26</a>		
						</li>
						
						<li class="sub_panel_list_item">
							<a href="/showLopNews.action?id=67"> 
							D3:8893 3713 239 279  -- 2011-08-24</a>		
						</li>
						
						<li class="sub_panel_list_item">
							<a href="/showLopNews.action?id=66"> 
							D2:6831 2938 228 186 -- 2011-08-24</a>		
						</li>
                    </ul>
                </div>
			</div>
            
            <div class="panel right" id="most_popular">
                <div class="panel_title">
                    <span>微博新人</span>
                    <a href="http://test.lovelop.com/weibo/">更多</a>
                </div>
                <div class="panel_content"><div class="mod-aside user-sidebar">
                <div class="hd">
                <div class="bd">
                <ul>
                        <li rel="u:2405692791">
                        <a href="/weibo/index.php?m=ta&amp;id=2405692791"><img alt="sjq200604" src="http://tp4.sinaimg.cn/2405692791/50/20120102"></a>
                        <p><a href="/weibo/index.php?m=ta&amp;id=2405692791">sjq200604</a></p>
                                                        <a rel="e:fl,t:2" class="sub-link" href="#"></a>
                                                </li>
                        <li rel="u:1562528002">
                        <a href="/weibo/index.php?m=ta&amp;id=1562528002"><img alt="Livia小宇宙在哪呢" src="http://tp3.sinaimg.cn/1562528002/50/20120102"></a>
                        <p><a href="/weibo/index.php?m=ta&amp;id=1562528002">Livia小宇宙在哪呢</a></p>
                                                        <a rel="e:fl,t:2" class="sub-link" href="#"></a>
                                                </li>
                        <li rel="u:2445925152">
                        <a href="/weibo/index.php?m=ta&amp;id=2445925152"><img alt="勤奋的傻的可爱" src="http://tp1.sinaimg.cn/2445925152/50/20120102"></a>
                        <p><a href="/weibo/index.php?m=ta&amp;id=2445925152">勤奋的傻的可爱</a></p>
                                                        <a rel="e:fl,t:2" class="sub-link" href="#"></a>
                                                </li>
                        <li rel="u:2039662531">
                        <a href="/weibo/index.php?m=ta&amp;id=2039662531"><img alt="沿途有S-K-Y" src="http://tp4.sinaimg.cn/2039662531/50/20120102"></a>
                        <p><a href="/weibo/index.php?m=ta&amp;id=2039662531">沿途有S-K-Y</a></p>
                                                        <a rel="e:fl,t:2" class="sub-link" href="#"></a>
                                                </li>
                        <li rel="u:1980411627">
                        <a href="/weibo/index.php?m=ta&amp;id=1980411627"><img alt="兴刚2011" src="http://tp4.sinaimg.cn/1980411627/50/20120102"></a>
                        <p><a href="/weibo/index.php?m=ta&amp;id=1980411627">兴刚2011</a></p>
                                                        <a rel="e:fl,t:2" class="sub-link" href="#"></a>
                                                </li>
                        <li rel="u:2532583321">
                        <a href="/weibo/index.php?m=ta&amp;id=2532583321"><img alt="以前以后改变的徐某某" src="http://tp2.sinaimg.cn/2532583321/50/20120102"></a>
                        <p><a href="/weibo/index.php?m=ta&amp;id=2532583321">以前以后改变的徐某某</a></p>
                                                        <a rel="e:fl,t:2" class="sub-link" href="#"></a>
                                                </li>
                        <li rel="u:1918818493">
                        <a href="/weibo/index.php?m=ta&amp;id=1918818493"><img alt="鲁邦2011" src="http://tp2.sinaimg.cn/1918818493/50/20120102"></a>
                        <p><a href="/weibo/index.php?m=ta&amp;id=1918818493">鲁邦2011</a></p>
                                                        <a rel="e:fl,t:2" class="sub-link" href="#"></a>
                                                </li>
                        <li rel="u:1860519010">
                        <a href="/weibo/index.php?m=ta&amp;id=1860519010"><img alt="猫了个咪呀咪" src="http://tp3.sinaimg.cn/1860519010/50/20120102"></a>
                        <p><a href="/weibo/index.php?m=ta&amp;id=1860519010">猫了个咪呀咪</a></p>
                                                        <a rel="e:fl,t:2" class="sub-link" href="#"></a>
                                                </li>
                        <li rel="u:2154985372">
                        <a href="/weibo/index.php?m=ta&amp;id=2154985372"><img alt="jasonhuangenlai" src="http://tp1.sinaimg.cn/2154985372/50/20120102"></a>
                        <p><a href="/weibo/index.php?m=ta&amp;id=2154985372">jasonhuangenlai</a></p>
                                                        <a rel="e:fl,t:2" class="sub-link" href="#"></a>
                                                </li>
                        <li rel="u:1139015481">
                        <a href="/weibo/index.php?m=ta&amp;id=1139015481"><img alt="玖玥-平子" src="http://tp2.sinaimg.cn/1139015481/50/20120102"></a>
                        <p><a href="/weibo/index.php?m=ta&amp;id=1139015481">玖玥-平子</a></p>
                                                        <a rel="e:fl,t:2" class="sub-link" href="#"></a>
                                                </li>
                        <li rel="u:2502294557">
                        <a href="/weibo/index.php?m=ta&amp;id=2502294557"><img alt="chen_Ste" src="http://tp2.sinaimg.cn/2502294557/50/20120102"></a>
                        <p><a href="/weibo/index.php?m=ta&amp;id=2502294557">chen_Ste</a></p>
                                                        <a rel="e:fl,t:2" class="sub-link" href="#"></a>
                                              </li></ul></div></div></div></div>
            </div>
            
        </div>
        
    </div>
    <div class="footer">
        <p>
            网站域名：
            <a href="http://www.landofpromise.co">www.landofpromise.co</a>&nbsp;
            <a href="http://www.miibeian.gov.cn/">浙ICP备11027651号-1</a>
            <br>
            <!-- 北京 -->
            <script language="JavaScript" src="http://s13.cnzz.com/stat.php?id=3354196&amp;web_id=3354196&amp;show=pic"></script><a title="站长统计" target="_blank" href="http://www.cnzz.com/stat/website.php?web_id=3354196"><img vspace="0" hspace="0" border="0" src="http://icon.cnzz.com/pic.gif"></a><img width="0" height="0" border="0" src="http://hzs13.cnzz.com/stat.htm?id=3354196&amp;r=&amp;lg=undefined&amp;ntime=0.48238200 1320641165&amp;repeatip=2&amp;rtime=4&amp;cnzz_eid=14694588-1312541640-&amp;showp=1440x900&amp;st=548&amp;sin=&amp;res=0">
            <!--	-->
            <!-- 香港 -->
            <!--
    <script src=" http://s14.cnzz.com/stat.php?id=3272929&web_id=3272929&show=pic" language="JavaScript"></script>
    -->
            <br>
        </p>
        <p>
            本站为个人主页，无任何商业目的，若在某些方面侵犯到版权，请来信告知，本站将迅速改正。
        </p>
    </div>
</div>



</body>
</html>
<form id ="subForm" action="" method = "post">
<input type = "hidden" id="id" name = "id"/>
<input type = "hidden"   id ="title" name ="title"/>
</form>
<script type="text/javascript">
function openDiv(id){
var v =document.getElementById(id);
   if(v.style.display=='none'){
     v.style.display='block';
   }else{
      v.style.display='none';
   }
}
function subMessage(id){
	subForm.action="saveSubHelpMessage.action";
	subForm.id.value = id;
	subForm.title.value = document.getElementById('title'+id).value;
	subForm.submit();
}
</script>
<!-- ShareTo Button BEGIN -->
<script type="text/javascript" src="http://s.shareto.com.cn/js/shareto_float.js#color=0&align=right&move=0" charset="utf-8"></script> 
<!-- ShareTo Button END -->
